package com.xinsilu.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsilu.hospital.entity.AuthsysUser;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ym
 * @since 2021-11-30
 */
public interface IAuthsysUserService extends IService<AuthsysUser> {
    AuthsysUser findByUserName(String username);

    List<AuthsysUser> findAll();

    void assignUserRoles(AuthsysUser user);

    List<String> getUserPermssions(String username);
}
